﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001423 RID: 5155
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TrainPartyUpdatePosEnvCsReq : IMessage<TrainPartyUpdatePosEnvCsReq>, IMessage, IEquatable<TrainPartyUpdatePosEnvCsReq>, IDeepCloneable<TrainPartyUpdatePosEnvCsReq>, IBufferMessage
	{
		// Token: 0x17004100 RID: 16640
		// (get) Token: 0x0600E6D0 RID: 59088 RVA: 0x00269578 File Offset: 0x00267778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TrainPartyUpdatePosEnvCsReq> Parser
		{
			get
			{
				return TrainPartyUpdatePosEnvCsReq._parser;
			}
		}

		// Token: 0x17004101 RID: 16641
		// (get) Token: 0x0600E6D1 RID: 59089 RVA: 0x0026957F File Offset: 0x0026777F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TrainPartyUpdatePosEnvCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004102 RID: 16642
		// (get) Token: 0x0600E6D2 RID: 59090 RVA: 0x00269591 File Offset: 0x00267791
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TrainPartyUpdatePosEnvCsReq.Descriptor;
			}
		}

		// Token: 0x0600E6D3 RID: 59091 RVA: 0x00269598 File Offset: 0x00267798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUpdatePosEnvCsReq()
		{
		}

		// Token: 0x0600E6D4 RID: 59092 RVA: 0x002695A0 File Offset: 0x002677A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUpdatePosEnvCsReq(TrainPartyUpdatePosEnvCsReq other) : this()
		{
			this.nPKLLEHIOAL_ = other.nPKLLEHIOAL_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600E6D5 RID: 59093 RVA: 0x002695C5 File Offset: 0x002677C5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TrainPartyUpdatePosEnvCsReq Clone()
		{
			return new TrainPartyUpdatePosEnvCsReq(this);
		}

		// Token: 0x17004103 RID: 16643
		// (get) Token: 0x0600E6D6 RID: 59094 RVA: 0x002695CD File Offset: 0x002677CD
		// (set) Token: 0x0600E6D7 RID: 59095 RVA: 0x002695D5 File Offset: 0x002677D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NPKLLEHIOAL
		{
			get
			{
				return this.nPKLLEHIOAL_;
			}
			set
			{
				this.nPKLLEHIOAL_ = value;
			}
		}

		// Token: 0x0600E6D8 RID: 59096 RVA: 0x002695DE File Offset: 0x002677DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TrainPartyUpdatePosEnvCsReq);
		}

		// Token: 0x0600E6D9 RID: 59097 RVA: 0x002695EC File Offset: 0x002677EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TrainPartyUpdatePosEnvCsReq other)
		{
			return other != null && (other == this || (this.NPKLLEHIOAL == other.NPKLLEHIOAL && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600E6DA RID: 59098 RVA: 0x0026961C File Offset: 0x0026781C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.NPKLLEHIOAL != 0U)
			{
				num ^= this.NPKLLEHIOAL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600E6DB RID: 59099 RVA: 0x0026965B File Offset: 0x0026785B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600E6DC RID: 59100 RVA: 0x00269663 File Offset: 0x00267863
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600E6DD RID: 59101 RVA: 0x0026966C File Offset: 0x0026786C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NPKLLEHIOAL != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.NPKLLEHIOAL);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600E6DE RID: 59102 RVA: 0x002696A0 File Offset: 0x002678A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.NPKLLEHIOAL != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NPKLLEHIOAL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600E6DF RID: 59103 RVA: 0x002696DE File Offset: 0x002678DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TrainPartyUpdatePosEnvCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.NPKLLEHIOAL != 0U)
			{
				this.NPKLLEHIOAL = other.NPKLLEHIOAL;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600E6E0 RID: 59104 RVA: 0x0026970F File Offset: 0x0026790F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600E6E1 RID: 59105 RVA: 0x00269718 File Offset: 0x00267918
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.NPKLLEHIOAL = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005B54 RID: 23380
		private static readonly MessageParser<TrainPartyUpdatePosEnvCsReq> _parser = new MessageParser<TrainPartyUpdatePosEnvCsReq>(() => new TrainPartyUpdatePosEnvCsReq());

		// Token: 0x04005B55 RID: 23381
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005B56 RID: 23382
		public const int NPKLLEHIOALFieldNumber = 12;

		// Token: 0x04005B57 RID: 23383
		private uint nPKLLEHIOAL_;
	}
}
